test(integration): cover remote & host build, CSS bundling and shared deps#406
Merged
gioboa merged 2 commits intomodule-federation:mainfrom Feb 18, 2026
Merged
Conversation
67b4318 to
2e03ed9
Compare
gioboa
reviewed
Feb 13, 2026
Collaborator
gioboa
left a comment
There was a problem hiding this comment.
Validate compatibility across different Vite versions is something really valuable, happy to merge it. Thanks
5721297 to
83e37a9
Compare
252d0ab to
cb3a7f9
Compare
Contributor
Author
|
I've updated the description to explain what more this adds as a PR, I imagine we'll add more tests when looking at |
Contributor
Author
|
I'd quite like to get this PR landed @gioboa so i can write an integration test to cover this issue #274, I've got an upstream PR made to help alleviate the issue as well here – module-federation/core#4454 with that in mind, do you have any questions or feedback on it's approach? |
cb3a7f9 to
ff019fa
Compare
gioboa
approved these changes
Feb 18, 2026
Collaborator
gioboa
left a comment
There was a problem hiding this comment.
with that in mind, do you have any questions or feedback on it's approach?
it looks awesome to me 👏
thanks @joshuaellis
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Introduces an integration test suite that builds real Vite fixtures through the plugin and asserts on the Rollup output artifacts (chunks, assets, manifests, HTML) covering the four critical build scenarios: basic remote builds, host builds, CSS asset tracking in manifests, and shared dependency handling
build.test.tshost-build.test.tsloadRemote(),hostInitInjectLocationmodes (htmlvsentry),initializeSharing()presencecss-manifest.test.tsbundleAllCSSoptionshared-deps.test.tsloadShare()rewriting, singleton/requiredVersion config in remoteEntry,import: falseerrors, shared deps in manifestAdds a CI workflow that runs the integration tests against a Vite version matrix (5, 6, and 7) –
integration-test.yml